<!--[ blocks ]-->
{{ $block := (where (site.RegularPages) "Type" "in" "footer") }}
{{ with ($block) }}
  <div class="section py-5 border-bottom">
    <div class="container">
      <div class="row g-3">
          {{ range ($block) }}
            <div class="col-lg">
              <article>
                <h2 class="h5 border-bottom pb-1 mb-3">{{ (.Title) }}</h2>
                <div class="node-body">{{ (.Content) }}</div>
              </article>
            </div>
          {{ end }}
      </div>
    </div>
  </div>
{{ end }}
<!--[ / blocks ]-->

<!--[ meta ]-->
<div class="section py-3 bg-body-secondary">
  <div class="container">
    <div class="row row-cols-1 row-cols-lg-2 small text-body-secondary align-items-center">
      <!--[ copyright ]-->
      <div class="col text-center text-lg-start">
        <ul class="list-inline mb-0">
          <li class="list-inline-item">
            <div>{{ (site.Title) }} &copy; {{ (now.UTC.Format "2006") }}</div>
              {{ with (site.Params.description) }}
                <div>{{ . }}</div>
              {{ end }}
          </li>
        </ul>
      </div>
      <!--[ / copyright ]-->
      <!--[ info ]-->
      <div class="col text-center text-lg-end">
        <ul class="list-inline mb-0">
            {{ with (.OutputFormats.Get "rss") }}
              <li class="list-inline-item" data-bs-tooltip data-bs-title='{{ ((.Name) | upper) }}'>
                <a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank" aria-label='{{ ((.Name) | upper) }}'>
                  <i class="fas fa-rss fa-fw"></i>
                </a>
              </li>
            {{ end }}
            {{ with (.OutputFormats.Get "json") }}
              <li class="list-inline-item" data-bs-tooltip data-bs-title='{{ ((.Name) | upper) }}'>
                <a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank" aria-label='{{ ((.Name) | upper) }}'>
                  <i class="fas fa-code fa-fw"></i>
                </a>
              </li>
            {{ end }}
            {{ with (site.Home.AllTranslations) }}
              <li class="list-inline-item dropup" data-bs-tooltip data-bs-title='{{ (i18n "languages") }}'>
                <a class="dropdown-toggle btn btn-light btn-sm" href="#"
                   role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label='{{ (i18n "languages") }}'>
                  <i class="fas fa-language fa-fw"></i>
                </a>
                <div class="dropdown-menu dropdown-menu-end shadow">
                    {{ range . }}
                      <a class="dropdown-item" href="{{ (.RelPermalink) }}" hreflang="{{ (.Language.Lang) }}">
                          {{ (.Language.LanguageName) }}
                      </a>
                    {{ end }}
                </div>
              </li>
            {{ end }}
        </ul>
      </div>
      <!--[ / info ]-->
    </div>
  </div>
</div>
<!--[ / meta ]-->
